package org.jeecg.modules.SellsSavesModule.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;

@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
public class InstorageDanInfo implements Serializable {
    /**主键*/
    @TableId(type = IdType.ID_WORKER_STR)
    private java.lang.String id;
    /**入库申请单编码*/
    private java.lang.String code;
    /**采购部门*/
    private java.lang.String caigouDepart;
    /**仓库id*/
    private java.lang.String warehouseId;
    /**采购部门名称*/
    private java.lang.String caigouUsername;
    /**采购联系电话*/
    private java.lang.String caigouPhone;
    /**采购备注*/
    private java.lang.String caigouRemark;
    /**采购附件*/
    private java.lang.String caigouImg;
    /**检验负责人*/
    private java.lang.String checkUsername;
    /**检验电话*/
    private java.lang.String checkPhone;
    /**检验备注*/
    private java.lang.String checkRemark;
    /**检验附件*/
    private java.lang.String checkImg;
    /**入库总金额*/
    private java.lang.String instorageMoney;

    /**状态：状态：0待入库，1入库中，2已入库，3假删除*/
    private java.lang.Integer status;
    /**备注*/
    private java.lang.String remark;
    /**部门编码*/
    private java.lang.String sysOrgCode;
    /**创建人*/
    private java.lang.String createBy;
    /**更新人*/
    private java.lang.String updateBy;
    /**
     * 创建日期
     */
    @Excel(name = "创建日期", width = 20, format = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private java.util.Date createTime;
    /**
     * 更新日期
     */
    @Excel(name = "更新日期", width = 20, format = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private java.util.Date updateTime;


    private int sumCount;//商品总数量
    private String sumMoney;//总金额

    //仓库表
    private String warehouseName;
    private String contact;
    private String contactPhone;
    private String address;

}
